addHook("ThinkFrame", do
    for player in players.iterate
        if player.mo.skin == "earlyknux"
        and (P_IsObjectOnGround(player.mo) == false)
        and not (player.mo.state == S_PLAY_PAIN)
        and not (player.mo.state == S_PLAY_DEAD) then
            if not (player.mo.state == S_PLAY_WALK) then
                player.mo.state = S_PLAY_WALK
            end
            
            if (player.mo.tics >= 4) then
                if (player.speed > 12*FRACUNIT) then
                    player.mo.tics = 2
                elseif (player.speed > 6*FRACUNIT) then
                    player.mo.tics = 3
                end
            end
        end
    end
end)
//What if i write a whole story here?
//I don't care if no one looks at this, I'll have a reason to cancel this mod.
//'OMG FILESIZE TOO BEEG CANNOT CONTINUE MOD SORRY'
//Yeah this will probably happen someday.
//Let's start my big story!!
//Once upon a time, a little boi called Johnny Wallbank (get it? get it? pffhaha im so funny)
//Walks with his friend A.J. Freda (pfft!) in the forest.
//And what did they see?
//A PINETREE SONIC!!!!!!! enjoy your mod that's as big as your mom (pffffft!!!!)
//I might copy-paste this in the lua scripts.. this will be fun
